﻿using System.ComponentModel;
using System.Windows;

namespace DenisVuyka.Controls.PropertyGrid
{
  public sealed class FontStyleConverterDecorator : FontConverterDecorator
  {
    public FontStyleConverterDecorator() : base(new FontStyleConverter()) { }

    public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
    {
      return new StandardValuesCollection(
        new FontStyle[] 
        { 
          FontStyles.Italic, 
          FontStyles.Normal, 
          FontStyles.Oblique 
        });
    }
  }
}
